package _15_command_pattern.v2_0.command;

import _15_command_pattern.v2_0.group.CodeGroup;
import _15_command_pattern.v2_0.group.PageGroup;
import _15_command_pattern.v2_0.group.RequirementGroup;

/**
 * @Description: 
 * @Auther: 2019/6/25 9:26 by zhang.jy 
 */
public abstract class Command {
	//把三个组都定义好，子类可以直接使用
	protected RequirementGroup rg = new RequirementGroup(); //需求组
	protected PageGroup pg = new PageGroup(); //美工组
	protected CodeGroup cg = new CodeGroup(); //代码组

	//只有一个方法，你要我做什么事情
	public abstract void execute();
}